package com.recource.type;

/**
 * @author yujie
 * @createTime 2023/1/4 15:25
 * @description
 */
public enum UserType {
    ADMIN(0, "管理员"), SIMPLE(1, "志愿者"),;

    private String msg;

    private int index;

    UserType(int index, String msg) {
        this.msg = msg;
        this.index = index;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
